home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3275 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.4 KB

  1. Path: sfov1.verifone.com!nntp
  2. Newsgroups: comp.lang.c++
  3. Subject: Profiling C++ code on SCO
  4. Message-ID: <1996Jan22.205047.4754@sfov1.verifone.com>
  5. From: khemani_p1@hnlv4.verifone.com
  6. Date: Mon, 22 Jan 96 08:50:38 GMT  
  7. Organization: VeriFone Inc.
  8. Keywords: Profiling, c++
  9. Nntp-Posting-Host: hnlv4.verifone.com
  10.  
  11.  
  12. I am planning to use the profiler on a somewhat large system for 
  13. performance tuning purposes.. Here are the particulars.
  14.  
  15. 1. More then one processes of different type/ same type will be running.
  16. 2. Code written in C++. Has considerable embedded SQL code. (Oracle 7.0)
  17. 3. Platform SCO UNIX
  18.  
  19.  
  20.  
  21. I used the -p flag while compiling with CC.
  22. Set the PROFDIR env variable.
  23.  
  24. But I  immediately faced a problem where some programs will not compile 
  25. with the -p option. The cc compiler while compiling the ..c file (produced 
  26. by Cfront) starts giving errors. For example when cc comes across a struct 
  27. definition it does not allocate space for it and soon after complains that 
  28. the struct is of zero size. This happens quite deep in the program ...so 
  29. are there some resource limitations?
  30.  
  31.  
  32. Is there some special way for profiling C++ code?
  33.  
  34. How do we fine tune the working of the profiler ?
  35.  
  36. What sort of performance degradation occurs when profiler is in operation?
  37.  
  38. Is profiling on SCO anywaay different from profing on a HP-UX platform?
  39.  
  40. Please post your replies to
  41.  
  42. Khemani_p1@blrv1.verifone.com
  43.  
  44.  
  45. Thanx and Regards
  46. Khemani
  47.